<script>
  export default {
    name: "App",
  };
</script>

<template>
  <div id="app">
    <router-view />
  </div>
</template>

<style>
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }

  #app {
    height: 100%;
    width: 100%;
  }
  .router-view { /* 如果需要直接给 <router-view> 设置样式 */
    height: 100%;
    width: 100%;
  }
</style>
